﻿using System;
namespace Golf.Model
{
	/// <summary>
	/// Golf_Order:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public partial class Golf_Order
	{
		public Golf_Order()
		{}
		#region Model
		private int _id;
		private string _ordernumber;
		private decimal _ordersumprice;
		private int _userid;
		private string _fristname;
		private string _lastname;
		private decimal _productsumprice;
		private decimal _transportationprice;
		private int _mailtypeid;
		private bool _iscoupon= false;
		private decimal? _couponprice;
		private int _isaddprice;
		private string _addpricestate;
		private decimal? _addprice;
		private string _productnumberlist;
		private DateTime _ordergeneratedtime= DateTime.Now;
		private DateTime? _orderverifytime;
		private int? _verifynameid;
		private int _addressid;
		private string _usermessage;
		private string _userip;
		private int _ispayment;
		private int? _paymenttypeid;
		private int? _paymentbankid;
		private decimal? _paymentprice;
		private DateTime? _paymenttime;
		private string _paymentordernumber;
		private int? _refundtypeid;
		private int _logisticsstateid;
		private string _logisticsnumber;
		private string _penskelogistics;
		private string _logisticsremarks;
		private int _orderstatecodeid;
		private int _productordernumber;
		private bool _isdeliver= false;
		private DateTime? _delivertime;
		private int? _deliverunitid;
		private bool _isprintdeliver;
		private int? _allocateunitid;
		private DateTime? _allocatetime;
		private int? _adminmessageid;
		private bool _isshow= true;
		private string _pro_attrlist;
		/// <summary>
		/// id
		/// </summary>
		public int Id
		{
			set{ _id=value;}
			get{return _id;}
		}
		/// <summary>
		/// 订单编号
		/// </summary>
		public string OrderNumber
		{
			set{ _ordernumber=value;}
			get{return _ordernumber;}
		}
		/// <summary>
		/// 订单金额
		/// </summary>
		public decimal OrderSumPrice
		{
			set{ _ordersumprice=value;}
			get{return _ordersumprice;}
		}
		/// <summary>
		/// 会员id Golf_User
		/// </summary>
		public int UserId
		{
			set{ _userid=value;}
			get{return _userid;}
		}
		/// <summary>
		/// 姓	Golf_User表
		/// </summary>
		public string FristName
		{
			set{ _fristname=value;}
			get{return _fristname;}
		}
		/// <summary>
		/// 名 Golf_User
		/// </summary>
		public string LastName
		{
			set{ _lastname=value;}
			get{return _lastname;}
		}
		/// <summary>
		/// 产品总价 1个以上的总和
		/// </summary>
		public decimal ProductSumPrice
		{
			set{ _productsumprice=value;}
			get{return _productsumprice;}
		}
		/// <summary>
		/// 运费
		/// </summary>
		public decimal TransportationPrice
		{
			set{ _transportationprice=value;}
			get{return _transportationprice;}
		}
		/// <summary>
		/// 邮寄类型id Golf_MailType
		/// </summary>
		public int MailTypeId
		{
			set{ _mailtypeid=value;}
			get{return _mailtypeid;}
		}
		/// <summary>
		/// 是否优惠券 0否 1是
		/// </summary>
		public bool IsCoupon
		{
			set{ _iscoupon=value;}
			get{return _iscoupon;}
		}
		/// <summary>
		/// 优惠金额
		/// </summary>
		public decimal? CouponPrice
		{
			set{ _couponprice=value;}
			get{return _couponprice;}
		}
		/// <summary>
		/// 是否加减金额 哦、0否 1加 2减
		/// </summary>
		public int IsAddPrice
		{
			set{ _isaddprice=value;}
			get{return _isaddprice;}
		}
		/// <summary>
		/// 加减金额说明
		/// </summary>
		public string AddPriceState
		{
			set{ _addpricestate=value;}
			get{return _addpricestate;}
		}
		/// <summary>
		/// 增加为正数，减为负数
		/// </summary>
		public decimal? AddPrice
		{
			set{ _addprice=value;}
			get{return _addprice;}
		}
		/// <summary>
		/// 产品购买多个编号，逗号隔开
		/// </summary>
		public string ProductNumberList
		{
			set{ _productnumberlist=value;}
			get{return _productnumberlist;}
		}
		/// <summary>
		/// 盯电脑生成（自动时间）
		/// </summary>
		public DateTime OrderGeneratedTime
		{
			set{ _ordergeneratedtime=value;}
			get{return _ordergeneratedtime;}
		}
		/// <summary>
		/// 订单确认时间
		/// </summary>
		public DateTime? OrderVerifyTime
		{
			set{ _orderverifytime=value;}
			get{return _orderverifytime;}
		}
		/// <summary>
		/// 确认处理人id Golf_Admin
		/// </summary>
		public int? VerifyNameId
		{
			set{ _verifynameid=value;}
			get{return _verifynameid;}
		}
		/// <summary>
		/// 收获地址 Golf_Address
		/// </summary>
		public int AddressId
		{
			set{ _addressid=value;}
			get{return _addressid;}
		}
		/// <summary>
		/// 会员留言
		/// </summary>
		public string UserMessage
		{
			set{ _usermessage=value;}
			get{return _usermessage;}
		}
		/// <summary>
		/// 会员IP
		/// </summary>
		public string UserIp
		{
			set{ _userip=value;}
			get{return _userip;}
		}
		/// <summary>
		/// 是否付款 0未 1已付 -1已退款
		/// </summary>
		public int IsPayment
		{
			set{ _ispayment=value;}
			get{return _ispayment;}
		}
		/// <summary>
		/// 付款类型id Golf_PaymenType
		/// </summary>
		public int? PaymentTypeId
		{
			set{ _paymenttypeid=value;}
			get{return _paymenttypeid;}
		}
		/// <summary>
		/// 付款银行 Golf_bank
		/// </summary>
		public int? PaymentBankId
		{
			set{ _paymentbankid=value;}
			get{return _paymentbankid;}
		}
		/// <summary>
		/// 付款金额 
		/// </summary>
		public decimal? PaymentPrice
		{
			set{ _paymentprice=value;}
			get{return _paymentprice;}
		}
		/// <summary>
		/// 付款时间
		/// </summary>
		public DateTime? PaymentTime
		{
			set{ _paymenttime=value;}
			get{return _paymenttime;}
		}
		/// <summary>
		/// 付款第三方订单号
		/// </summary>
		public string PaymentOrderNumber
		{
			set{ _paymentordernumber=value;}
			get{return _paymentordernumber;}
		}
		/// <summary>
		/// 退款记录id Golf_Loginsticss
		/// </summary>
		public int? RefundTypeId
		{
			set{ _refundtypeid=value;}
			get{return _refundtypeid;}
		}
		/// <summary>
		/// 物流状态id Golf_Logisticss
		/// </summary>
		public int LogisticsStateId
		{
			set{ _logisticsstateid=value;}
			get{return _logisticsstateid;}
		}
		/// <summary>
		/// 物流订单号
		/// </summary>
		public string Logisticsnumber
		{
			set{ _logisticsnumber=value;}
			get{return _logisticsnumber;}
		}
		/// <summary>
		/// 物流公司名称
		/// </summary>
		public string PenskeLogistics
		{
			set{ _penskelogistics=value;}
			get{return _penskelogistics;}
		}
		/// <summary>
		/// 物流备注说明
		/// </summary>
		public string LogisticsRemarks
		{
			set{ _logisticsremarks=value;}
			get{return _logisticsremarks;}
		}
		/// <summary>
		/// 物流状态id	Golf_Logisticsstate表
		/// </summary>
		public int OrderStateCodeId
		{
			set{ _orderstatecodeid=value;}
			get{return _orderstatecodeid;}
		}
		/// <summary>
		/// 订单总件数
		/// </summary>
		public int ProductOrderNumber
		{
			set{ _productordernumber=value;}
			get{return _productordernumber;}
		}
		/// <summary>
		/// 是否发货 1是 0不是
		/// </summary>
		public bool IsDeliver
		{
			set{ _isdeliver=value;}
			get{return _isdeliver;}
		}
		/// <summary>
		/// 发货时间
		/// </summary>
		public DateTime? DeliverTime
		{
			set{ _delivertime=value;}
			get{return _delivertime;}
		}
		/// <summary>
		/// 发货处理人id	Golf_Admin表
		/// </summary>
		public int? DeliverUnitId
		{
			set{ _deliverunitid=value;}
			get{return _deliverunitid;}
		}
		/// <summary>
		/// 是否打印发货单
		/// </summary>
		public bool IsPrintDeliver
		{
			set{ _isprintdeliver=value;}
			get{return _isprintdeliver;}
		}
		/// <summary>
		/// 配货处理人id	Golf_Admin表
		/// </summary>
		public int? AllocateUnitId
		{
			set{ _allocateunitid=value;}
			get{return _allocateunitid;}
		}
		/// <summary>
		/// 配货时间
		/// </summary>
		public DateTime? AllocateTime
		{
			set{ _allocatetime=value;}
			get{return _allocatetime;}
		}
		/// <summary>
		/// 后台处理人留言id	Golf_Adminmessage表
		/// </summary>
		public int? AdminMessageId
		{
			set{ _adminmessageid=value;}
			get{return _adminmessageid;}
		}
		/// <summary>
		/// 是否显示 1显示 0不
		/// </summary>
		public bool IsShow
		{
			set{ _isshow=value;}
			get{return _isshow;}
		}
		/// <summary>
		/// 产品属性 多个产品竖线隔开，属性之间 逗号隔开
		/// </summary>
		public string Pro_AttrList
		{
			set{ _pro_attrlist=value;}
			get{return _pro_attrlist;}
		}
		#endregion Model

	}
}

